//
//  WBVisitorViewController.swift
//  weibo_swift
//
//  Created by qiuming on 16/9/18.
//  Copyright © 2016年 qiuming. All rights reserved.
//

import UIKit

class WBVisitorViewController: UITableViewController {

    fileprivate var userLogin = false
    
    var  visitorView :WBViitorView?
    
    override func loadView() {
        
        userLogin ? super.loadView() : setupVisitorView()
    }
    
    fileprivate func setupVisitorView() {
        
        visitorView = WBViitorView()
        view = visitorView
    }
    
}
